package pack0628;

public class Teacher extends Person {
    public void sing(){
        System.out.println("aaaaaaaaaaaaaa");
    }

    public void say(final int a){
        System.out.println(a);
        //a=100;
        //System.out.println(a);
    }
    public static void main(String[] args) {
        Person p=new Teacher();
        Teacher t=new Teacher();
        //p.name="郭靖";
        System.out.println(p.name);
        p.sing();
        t.say(200);

        /*final*/ int a=10;
        a=20;
        System.out.println(a);
    }
}
